package icu.makka.yygh.service;

import icu.makka.yygh.model.hosp.Department;
import icu.makka.yygh.vo.hosp.DepartmentQueryVo;
import icu.makka.yygh.vo.hosp.DepartmentVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

public interface DepartmentService {

    void saveDepartment(Map<String, Object> paramMap);

    Page<Department> page(Integer page, Integer limit, DepartmentQueryVo departmentQueryVo);

    void removeDepartment(String hoscode, String depcode);

    List<DepartmentVo> findDeptTree(String hoscode);

    String getDepNameByHoscodeAndDepcode(String hoscode, String depcode);

    Department getDepartmentByHosCodeAndDepcode(String hoscode, String depcode);
}
